﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Text;
using System;
using System.Collections.Generic;

namespace VOL.WebApi.Controllers.Demo.echarts
{
    [Route("api/echarts")]
    [ApiController]
    public class EachartsController : Controller
    {
        public EachartsController()
        {

        }
        [Route("getData"),HttpGet]
        public IActionResult GetData()
        {
            var data=new List<object>()
            {
               new{value=100,name=".net"},
                new{value=100,name="dapper"},
                 new{value=100,name="sql"},
                new{value=100,name="EF"}


            };
            return Json(data);
        }

       
    }
}
